Crate unimarkup_inline

source ·
Expand description

Crate for lexing and parsing of Unimarkup inline formatted text.

Structs

  • Lexer of Unimarkup inline formatted text. Generates a stream of Tokens from input.
  • Nested content of an Inline consisting of multiple other Inline.
  • Parser of Unimarkup inline formatting. Implemented as an Iterator, yields one self-contained Unimarkup Inline with every iteration.
  • Plain content of an Inline consisting of simple text.
  • Representation of a position in Unimarkup input.
  • Span used to store information about the space some Token occupies in Unimarkup document.
  • Token lexed from Unimarkup text.
  • Delimiters
  • Iterator over Unimarkup Tokens, performs the actual lexing.
  • TODO: write docs

Enums

  • Representation of Unimarkup inline-formatted text.
  • Content of an Inline.
  • Enum representing the spacing surrounding a particular token in Unimarkup document.
  • The kind of the token found in Unimarkup document.

Constants

  • Aliases for the EMOJIS and ARROWS that can be replaced in a Unimarkup text.
  • ASCII Arrows that can be replaced with their Unicode versions in a Unimarkup text.
  • ASCII Emojis that can be replaced with their Unicode versions in a Unimarkup text.

Traits

  • Extension trait for adding Parser implementation for any type that implements Tokenize trait.
  • Used to create a Unimarkup Lexer over some data structure, most typically over some kind of string, i.e. &str.